package com.gla.entity;

public class User {
    private int id;
    private String account;
    private String password;
    private String name;
    private String photo;
    private int is_vip;
    private int isdel;

    public User(int id, String account, String password, String name, String photo, int is_vip, int isdel) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.photo = photo;
        this.is_vip = is_vip;
        this.isdel = isdel;
    }

    public User() {
    }
    public User(int id, String account, String password, String name, String photo, int is_vip) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.photo = photo;
        this.is_vip = is_vip;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getIs_vip() {
        return is_vip;
    }

    public void setIs_vip(int is_vip) {
        this.is_vip = is_vip;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", photo='" + photo + '\'' +
                ", is_vip=" + is_vip +
                ", isdel=" + isdel +
                '}';
    }
}
